<?php
/**
 * 项目权限模型
 *
 * PHP version 5
 *
 * @package    Ecga
 * @subpackage Models
 * @author     Farmer.Li <lixu_01@126.com>
 * @copyright  2010 Xingchangxinda Inc.
 * @version    SVN: $id$
 */

namespace Project\Models\Mapper\Ecga;

use Project\Apps\Ecga\Library\Visitor;

use \Framework\Mapper\Models;
use Project\Apps\Ecga\Models\UserModelException;
/**
 * UserProjectPrivs models
 *
 * @package    Ecga
 * @subpackage Models
 * @author     Farmer.Li <lixu_01@126.com>
 * @copyright  2010 Xingchangxinda Inc.
 * @version    Release: 0.1
 */
class UserProjectPrivs extends Models
{
    /**
     * set Products fields
     *
     * @return void
     */
    protected function setFields()
    {
        $this->positiveIntegerField('userId');
        $this->positiveIntegerField('projectId');
        $this->textField('privs');
    }

    /**
     * 设置模型的关系
     *
     * @return void
     */
    protected function setRelations() 
    {
    	
    }
    
} // END class Products extends Models